<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This file documents the use of the GNU compilers.

Copyright © 1988-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Funding Free Software", the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below).  A copy of the license is included in the section entitled
"GNU Free Documentation License".

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development. -->
<title>Invoking lto-dump (Using the GNU Compiler Collection (GCC))</title>

<meta name="description" content="Invoking lto-dump (Using the GNU Compiler Collection (GCC))">
<meta name="keywords" content="Invoking lto-dump (Using the GNU Compiler Collection (GCC))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Indices.html" rel="index" title="Indices">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="lto_002ddump.html" rel="up" title="lto-dump">
<link href="lto_002ddump-Intro.html" rel="prev" title="lto-dump Intro">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
div.example {margin-left: 3.2em}
kbd.key {font-style: normal}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span:hover a.copiable-link {visibility: visible}
-->
</style>


</head>

<body lang="en_US">
<div class="section-level-extent" id="Invoking-lto_002ddump">
<div class="nav-panel">
<p>
Previous: <a href="lto_002ddump-Intro.html" accesskey="p" rel="prev">Introduction to <code class="command">lto-dump</code></a>, Up: <a href="lto_002ddump.html" accesskey="u" rel="up"><code class="command">lto-dump</code>&mdash;Tool for dumping LTO object files.</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Indices.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h3 class="section" id="Invoking-lto_002ddump-1"><span>13.2 Invoking <code class="command">lto-dump</code><a class="copiable-link" href="#Invoking-lto_002ddump-1"> &para;</a></span></h3>

<div class="example smallexample">
<pre class="example-preformatted">Usage: lto-dump <span class="r">[</span><var class="var">OPTION</var><span class="r">]</span> ... <var class="var">objfiles</var>
</pre></div>

<p><code class="command">lto-dump</code> accepts the following options:
</p>

<dl class="table">
<dt><code class="code">-list</code></dt>
<dd><p>Dumps list of details of functions and variables.
</p>
</dd>
<dt><code class="code">-demangle</code></dt>
<dd><p>Dump the demangled output.
</p>
</dd>
<dt><code class="code">-defined-only</code></dt>
<dd><p>Dump only the defined symbols.
</p>
</dd>
<dt><code class="code">-print-value</code></dt>
<dd><p>Dump initial values of the variables.
</p>
</dd>
<dt><code class="code">-name-sort</code></dt>
<dd><p>Sort the symbols alphabetically.
</p>
</dd>
<dt><code class="code">-size-sort</code></dt>
<dd><p>Sort the symbols according to size.
</p>
</dd>
<dt><code class="code">-reverse-sort</code></dt>
<dd><p>Dump the symbols in reverse order.
</p>
</dd>
<dt><code class="code">-no-sort</code></dt>
<dd><p>Dump the symbols in order of occurrence.
</p>
</dd>
<dt><code class="code">-symbol=</code></dt>
<dd><p>Dump the details of specific symbol.
</p>
</dd>
<dt><code class="code">-objects</code></dt>
<dd><p>Dump the details of LTO objects.
</p>
</dd>
<dt><code class="code">-type-stats</code></dt>
<dd><p>Dump the statistics of tree types.
</p>
</dd>
<dt><code class="code">-tree-stats</code></dt>
<dd><p>Dump the statistics of trees.
</p>
</dd>
<dt><code class="code">-gimple-stats</code></dt>
<dd><p>Dump the statistics of gimple statements.
</p>
</dd>
<dt><code class="code">-dump-level=</code></dt>
<dd><p>For deciding the optimization level of body.
</p>
</dd>
<dt><code class="code">-dump-body=</code></dt>
<dd><p>Dump the specific gimple body.
</p>
</dd>
<dt><code class="code">-help</code></dt>
<dd><p>Display the dump tool help.
</p>
</dd>
</dl>


</div>



</body>
</html>
